package com.mocha.auth.component;

/**
 * @author songkui
 * @since 2025-4-17
 * <p>
 * 缓存的key 常量
 */
public interface CacheConstants {

	/** oauth 客户端信息  */
	String REDIS_KEY_CLIENT_DETAILS = "coffee:auth:client:details";

	/**
	 * oauth 缓存前缀
	 */
	String PROJECT_OAUTH_ACCESS = "token::access_token";

	/**
	 * 验证码前缀
	 */
	String DEFAULT_CODE_KEY = "coffee:default_code_key:";

	/**
	 * 菜单信息缓存
	 */
	String MENU_DETAILS = "menu_details";

	/**
	 * 字典信息缓存
	 */
	String DICT_DETAILS = "dict_details";

	/**
	 * 角色信息缓存
	 */
	String ROLE_DETAILS = "role_details";

	/**
	 * oauth 客户端信息
	 */
	String CLIENT_DETAILS_KEY = "client:details";

	/**
	 * 参数缓存
	 */
	String PARAMS_DETAILS = "params_details";

}
